package com.example.administrator.caigou51.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/8/22/022.
 */
public class CategoryBean {


    /**
     * catid : 86
     * catname : 特价促销
     * parentid : 0
     */

    private List<FirstcatEntity> firstcat;
    /**
     * catid : 182
     * catname : 特价1
     * parentid : 86
     */

    private List<SecondcatEntity> secondcat;

    public void setFirstcat(List<FirstcatEntity> firstcat) {
        this.firstcat = firstcat;
    }

    public void setSecondcat(List<SecondcatEntity> secondcat) {
        this.secondcat = secondcat;
    }

    public List<FirstcatEntity> getFirstcat() {
        return firstcat;
    }

    public List<SecondcatEntity> getSecondcat() {
        return secondcat;
    }

    public static class FirstcatEntity {
        private String catid;
        private String catname;
        private String parentid;

        public void setCatid(String catid) {
            this.catid = catid;
        }

        public void setCatname(String catname) {
            this.catname = catname;
        }

        public void setParentid(String parentid) {
            this.parentid = parentid;
        }

        public String getCatid() {
            return catid;
        }

        public String getCatname() {
            return catname;
        }

        public String getParentid() {
            return parentid;
        }
    }

    public static class SecondcatEntity {
        private String catid;
        private String catname;
        private String parentid;

        public void setCatid(String catid) {
            this.catid = catid;
        }

        public void setCatname(String catname) {
            this.catname = catname;
        }

        public void setParentid(String parentid) {
            this.parentid = parentid;
        }

        public String getCatid() {
            return catid;
        }

        public String getCatname() {
            return catname;
        }

        public String getParentid() {
            return parentid;
        }
    }
}
